Micron Document
🎖️GitЯра🎖️


Displaying Raw • Download

core/network/src/androidMain/kotlin/org/meshtastic/core/network/repository/ProbeTableProvider.kt 0a44b948ec0573dc62ec68c19e46e62d40fcd1a3 (0a44b948) Text, 1.47 KB

T8b949e/*
* Copyright (c) 2026 Meshtastic LLC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
Tf0883e@fileTb4b4b4:Te6edf3SuppressTb4b4b4(Ta5d6ff"Ta5d6ffMagicNumberTa5d6ff"Tb4b4b4)

Tff7b72package T7ee787org.meshtastic.core.network.repository

Tff7b72import T7ee787com.hoho.android.usbserial.driver.CdcAcmSerialDriver
Tff7b72import T7ee787com.hoho.android.usbserial.driver.ProbeTable
Tff7b72import T7ee787com.hoho.android.usbserial.driver.UsbSerialProber
Tff7b72import T7ee787org.koin.core.annotation.Single

T8b949e/**
* Creates a probe table for the USB driver. This augments the default device-to-driver mappings with additional known
* working configurations. See this package's README for more info.
*/
Tf0883e@Single
Tff7b72class T56d364ProbeTableProvider Tb4b4b4{
Tff7b72fun Td2a8ffgetTb4b4b4(Tb4b4b4)Tb4b4b4: Te6edf3ProbeTable Tff7b72= Te6edf3UsbSerialProberTb4b4b4.Te6edf3getDefaultProbeTableTb4b4b4(Tb4b4b4)Tb4b4b4.Te6edf3apply Tb4b4b4{
T8b949e// RAK 4631:
Te6edf3addProductTb4b4b4(T79c0ff9T79c0ff1T79c0ff1T79c0ff4Tb4b4b4, T79c0ff3T79c0ff2T79c0ff8T79c0ff0T79c0ff9Tb4b4b4, Te6edf3CdcAcmSerialDriverTff7b72::Te6edf3classTb4b4b4.Te6edf3javaTb4b4b4)
T8b949e// LilyGo TBeam v1.1:
Te6edf3addProductTb4b4b4(T79c0ff6T79c0ff7T79c0ff9T79c0ff0Tb4b4b4, T79c0ff2T79c0ff1T79c0ff9T79c0ff7T79c0ff2Tb4b4b4, Te6edf3CdcAcmSerialDriverTff7b72::Te6edf3classTb4b4b4.Te6edf3javaTb4b4b4)
Tb4b4b4}
Tb4b4b4}

Served by rngit 1.5.0 - Generated in 0.04s